.login_bg {
  width: 100%;
  height: 100%;
  background: #fff;
  display: flex;
}

.login_main {
  flex: 1;
  overflow: auto;
  display: flex;
}
.login-form {
  width: 400px;
  margin: auto;
  padding: 20px 0;
}
.login-header {
  margin-bottom: 40px;
  .logo {
    display: flex;
    align-items: center;
    img {
      width: 40px;
      height: 40px;
      vertical-align: bottom;
      margin-right: 10px;
    }
    label {
      font-size: 26px;
      font-weight: bold;
    }
  }
}

.login-form {
  :deep(.el-tabs) {
    .el-tabs__header {
      margin-bottom: 25px;
      .el-tabs__item {
        font-size: 14px;
      }
    }
  }
  :deep(.login-forgot) {
    text-align: right;
    a {
      color: var(--el-color-primary);
      &:hover {
        color: var(--el-color-primary-light-3);
      }
    }
  }
  :deep(.login-reg) {
    font-size: 14px;
    color: var(--el-text-color-primary);
  }
  :deep(.login-reg) a {
    color: var(--el-color-primary);
  }
  :deep(.login-reg) a:hover {
    color: var(--el-color-primary-light-3);
  }
  :deep(.login-msg-yzm) {
    display: flex;
    width: 100%;
    .el-button {
      margin-left: 10px;
      --el-button-size: 42px;
    }
  }
}

.login_config {
  position: absolute;
  top: 20px;
  right: 20px;
}

@media (max-width: 1200px) {
  .login-form {
    width: 340px;
  }
}
@media (max-width: 1000px) {
  .login_main {
    display: block;
  }
  .login_main .login_config {
    position: static;
    padding: 20px 20px 0 20px;
    text-align: right;
  }
  .login-form {
    width: 100%;
    padding: 20px 40px;
  }
}
